<div class="am-u-sm-12 am-u-md-9">
    <form id="form-search" class="toolbar-form" action="">
    <input type="hidden" name="tab" value="<{$tab}>">
    <input type="hidden" name="dataType" value="<?= $dataType ?>">
    <div class="am fr">
        <{if $search['shifu_id']}>
        <div class="am-form-group am-fl">
            <select name="shifu_id"
                    data-am-selected="{btnSize: 'sm', placeholder: '师傅名称'}">
                <option value=""></option>
                <option value="0"
                    <?= $shifu_id === '-1' ? 'selected' : '' ?>>全部
                </option>
                <?php if (isset($shifu_list)): foreach ($shifu_list as $item): ?>
                    <option value="<?= $item['id'] ?>"
                        <?= $item['id'] == $shifu_id ? 'selected' : '' ?>><?= $item['realname'] ?>
                    </option>
                <?php endforeach; endif; ?>
            </select>
        </div>
        <{/if}>
        <{if $search['time_s']}>
        <div class="am-form-group tpl-form-border-form am-fl">
            <input type="text" name="time_s"
                    class="am-form-field"
                    value="<?= $time_s ?>" placeholder="请选择起始日期"
                    data-am-datepicker>
        </div>
        <div class="am-form-group tpl-form-border-form am-fl">
            <input type="text" name="time_e"
                    class="am-form-field"
                    value="<?= $time_e ?>" placeholder="请选择截止日期"
                    data-am-datepicker>
        </div>
        <{/if}>
        <div class="am-form-group am-fl">
            <div class="am-input-group am-input-group-sm tpl-form-border-form">
                <input type="text" class="am-form-field" name="keyword"
                        placeholder="请输入关键字" value="<{$keyword}>">
                <div class="am-input-group-btn">
                    <button class="am-btn am-btn-default am-icon-search"
                            type="submit"></button>
                </div>
            </div>
        </div>
    </div>
    </form>
</div>